package com.inhim.pjhim.utils;

import android.widget.ImageView;

import com.inhim.pjhim.app.MyApplication;
import com.nostra13.universalimageloader.core.ImageLoader;

public class ImageLoaderUtils {
    public static void setImage(String url, ImageView imageView){
        if(url!=null&&!"".equals(url)){
            try{
                //ImageLoader.getInstance().displayImage(url,imageView);
                GlideUtils.displayFromUrl(url,imageView, MyApplication.getContext());
            }catch (Exception e){
                e.printStackTrace();
            }
        }
    }

}
